package com.sc.datacollect.netty.model;

public enum ValueType {
	Unknown("未知类型", 0),
	V30Second("实时值", 30),
	V1Minute("1分钟值", 60),
	V5Minute("5分钟值", 300),
	V1Hour("小时值", 3600),
	V1Day_AQI("日均值(AQI)", 86400),
	V1Day_API("日均值(API)", 0),
	QC("质控报表", 1),
	QCCommand("质控命令", 0),
	QCTaskList("任务列表", 0),
	Synchronize("同步信号", -1);

	private String name;
	private int value;

	private ValueType(String name, int value) {
		this.setName(name);
		this.setValue(value);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}
}
